Component({
  /**
   * 组件的属性列表
   */
  properties: {
    shopcart: Object,
    showSelectAll: {type : Boolean, value: true},
    submitText: {type:String, value: "结算"}
  },
  /**
   * 组件的初始数据
   */
  data: {
  },

  /**
   * 组件的方法列表
   */
  methods: {
    onSelectAll(event) {
      this.triggerEvent('selectallevent', {}, { bubbles: true, composed: true })
    },

    onSubmit(event) {
      this.triggerEvent('submitbtn')
    }
  }

})